package com.gitee.wsl.android.ui.crosstabdnd

import androidx.fragment.app.FragmentManager

// Public util
object DragAndDropUtil {
    @JvmStatic
    @Throws(IllegalArgumentException::class)
    fun <T> getTabFragment(fm: FragmentManager, currentStackId: Long): T? {
        return fm.findFragmentByTag("f$currentStackId") as T?
    }
}